using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
	public class DCS_INJUNCTION_COURT
	{

		#region InnerClass
		public enum DCS_INJUNCTION_COURTFields
		{
			INJUNCTION_COURT_ID,
			INJUNCTION_COURT_NAME,
			INJUNCTION_COURT_DESC
		}
		#endregion

		#region Data Members

			int _iNJUNCTION_COURT_ID;
			string _iNJUNCTION_COURT_NAME;
			string _iNJUNCTION_COURT_DESC;

		#endregion

		#region Properties

		public int  INJUNCTION_COURT_ID
		{
			 get { return _iNJUNCTION_COURT_ID; }
			 set
			 {
				 if (_iNJUNCTION_COURT_ID != value)
				 {
					_iNJUNCTION_COURT_ID = value;
					 PropertyHasChanged("INJUNCTION_COURT_ID");
				 }
			 }
		}

		public string  INJUNCTION_COURT_NAME
		{
			 get { return _iNJUNCTION_COURT_NAME; }
			 set
			 {
				 if (_iNJUNCTION_COURT_NAME != value)
				 {
					_iNJUNCTION_COURT_NAME = value;
					 PropertyHasChanged("INJUNCTION_COURT_NAME");
				 }
			 }
		}

		public string  INJUNCTION_COURT_DESC
		{
			 get { return _iNJUNCTION_COURT_DESC; }
			 set
			 {
				 if (_iNJUNCTION_COURT_DESC != value)
				 {
					_iNJUNCTION_COURT_DESC = value;
					 PropertyHasChanged("INJUNCTION_COURT_DESC");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("INJUNCTION_COURT_ID", "INJUNCTION_COURT_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("INJUNCTION_COURT_NAME", "INJUNCTION_COURT_NAME",2147483647));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("INJUNCTION_COURT_DESC", "INJUNCTION_COURT_DESC",2147483647));
		}

		#endregion
********/

	}
}
